import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const examine: AppRouteRecordRaw = {
	path: '/examine',
	name: 'examine',
	component: DEFAULT_LAYOUT,
	meta: {
		locale: '考核管理',
		ignoreCache: true,
		requiresAuth: true,
		icon: 'icon-settings',
		order: 2,
		roles: '隐藏',
	},
	children: [
	// {
	// 		path: 'examine',
	// 		name: 'examine',
	// 		component: () =>
	// 			import('@/views/examine/index.vue'),
	// 		meta: {
	// 			locale: '考核列表',
	// 			ignoreCache: true,
	// 			requiresAuth: true,
	// 			roles: 'sys:teacher',
	// 		},
	// 	},
		
	{
			path: 'examinelist',
			name: 'examinelist',
			component: () =>
				import('@/views/examinelist/index.vue'),
			meta: {
				locale: '考核列表',
				ignoreCache: true,
				requiresAuth: true,
				roles: 'sys:teacher',
			},
		},{
			path: 'exramxq',
			name: 'exramxq',
			component: () =>
				import('@/views/exramxq/index.vue'),
			meta: {
				locale: '',
				ignoreCache: true,
				requiresAuth: true,
				roles: '*',
				hideInMenu: true, 
			},
		},
	
	
	],
};

export default examine;